﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    public class PigletsWeaningDto
    {
        /// <summary>
        /// 仔猪断奶ID
        /// </summary>
        public int PigletsWeaningId { get; set; }

        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; } = string.Empty;

        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string MotherEarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 当前所在栋舍
        /// </summary>
        public string Currentbuilding { get; set; } = string.Empty;

        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string BedroomName { get; set; } = string.Empty;

        /// <summary>
        /// 当前所在栏位
        /// </summary>
        public string Currentfield { get; set; } = string.Empty;

        /// <summary>
        /// 栏位名称
        /// </summary>
        public string FieldName { get; set; } = string.Empty;

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int Transferbuilding { get; set; }

        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int Transferfield { get; set; }

        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeaningDate { get; set; }
        /// <summary>
        /// 断奶总窝重（公斤）
        /// </summary>
        public decimal WeaningWeight { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; } = string.Empty;

        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNo { get; set; } = string.Empty;
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
